package com.ruoyi.xyq.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 明细对象 mingxi
 * 
 * @author ruoyi
 * @date 2025-05-13
 */
public class Mingxi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联商家外键 */
    @Excel(name = "关联商家外键")
    private Long merchantId;

    /** 总收入 */
    @Excel(name = "总收入")
    private Long sumMoney;

    /** 提取金额 */
    @Excel(name = "提取金额")
    private Long withdrawMoney;

    /** 当前现金金额 */
    @Excel(name = "当前现金金额")
    private Long nowMoney;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    public void setSumMoney(Long sumMoney) 
    {
        this.sumMoney = sumMoney;
    }

    public Long getSumMoney() 
    {
        return sumMoney;
    }

    public void setWithdrawMoney(Long withdrawMoney) 
    {
        this.withdrawMoney = withdrawMoney;
    }

    public Long getWithdrawMoney() 
    {
        return withdrawMoney;
    }

    public void setNowMoney(Long nowMoney) 
    {
        this.nowMoney = nowMoney;
    }

    public Long getNowMoney() 
    {
        return nowMoney;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantId", getMerchantId())
            .append("sumMoney", getSumMoney())
            .append("withdrawMoney", getWithdrawMoney())
            .append("nowMoney", getNowMoney())
            .append("birthday", getBirthday())
            .toString();
    }
}
